package com.antdesignbackend.backend.form.pigAccount.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 生猪运输台账
 *
 * @author 林宇杰
 * @email pigAccount
 * @date 2020-08-11 09:49:13
 */

@Data
@TableName(value = "t_pigAccount")
public class PigAccount implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//是否已阅读温馨提示内容
	@TableField(value = "ReadActivity")
	private String readActivity;
	//生猪运输车辆备案号
	@TableField(value = "RecordNo")
	private String recordNo;
	//生猪运输车辆备案表
	@TableField(value = "RecordForm")
	private String recordForm;
	//运载时间
	@TableField(value = "CarTime")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date carTime;
	//检疫证明号码
	@TableField(value = "ProofCode")
	private String proofCode;
	//生猪头数
	@TableField(value = "PigNumber")
	private Integer pigNumber;
	//起运省
	@TableField(value = "StartProvince")
	private Integer startProvince;
	//起运市
	@TableField(value = "StartCity")
	private Integer startCity;
	//起运区县
	@TableField(value = "StartDistrict")
	private Integer startDistrict;
	//起运乡镇
	@TableField(value = "StartTownship")
	private Integer startTownship;
	//起运详细地址
	@TableField(value = "StartDetailed")
	private String startDetailed;
	//起运完整地址
	@TableField(value = "StartFullAddress")
	private String startFullAddress;
	//养殖户名称
	@TableField(value = "FarmerName")
	private String farmerName;
	//到达省
	@TableField(value = "EndProvince")
	private Integer endProvince;
	//到达市
	@TableField(value = "EndCity")
	private Integer endCity;
	//到达区县
	@TableField(value = "EndDistrict")
	private Integer endDistrict;
	//到达乡镇
	@TableField(value = "EndTownship")
	private Integer endTownship;
	//到达详细地址
	@TableField(value = "EndDetailed")
	private String endDetailed;
	//到达完整地址
	@TableField(value = "EndFullAddress")
	private String endFullAddress;
	//运载路径
	@TableField(value = "Route")
	private String route;
	//装载前清洗消毒情况
	@TableField(value = "StartDisinfection")
	private String startDisinfection;
	//装载后清洗消毒情况
	@TableField(value = "EndDisinfection")
	private String endDisinfection;
	//染疫、病死、死因不明生猪处置情况
	@TableField(value = "Disposal")
	private String disposal;
	//备注
	@TableField(value = "Remark")
	private String remark;
	//状态，0未通过，1通过，2审批中，3驳回
	@TableField(value = "Types")
	private Integer types;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//企业ID
	@TableField(value = "Eid")
	private Integer eid;
}
